<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>LCV Framework: bayer-lcv.c-Dateireferenz</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Erzeugt von Doxygen 1.5.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Hauptseite</span></a></li>
    <li><a href="classes.html"><span>Datenstrukturen</span></a></li>
    <li class="current"><a href="files.html"><span>Dateien</span></a></li>
  </ul>
</div>
<h1>bayer-lcv.c-Dateireferenz</h1><code>#include &lt;sys/ioctl.h&gt;</code><br>
<code>#include &lt;stdio.h&gt;</code><br>
<code>#include &lt;stdlib.h&gt;</code><br>
<code>#include &lt;fcntl.h&gt;</code><br>
<code>#include &lt;linux/ioctl.h&gt;</code><br>
<code>#include &lt;errno.h&gt;</code><br>
<code>#include &lt;unistd.h&gt;</code><br>
<code>#include &lt;getopt.h&gt;</code><br>
<code>#include &lt;string.h&gt;</code><br>
<code>#include &lt;strings.h&gt;</code><br>
<code>#include &lt;assert.h&gt;</code><br>
<code>#include &quot;<a class="el" href="bayer-lcv_8h-source.html">bayer-lcv.h</a>&quot;</code><br>

<p>
<a href="bayer-lcv_8c-source.html">gehe zum Quellcode dieser Datei</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Makrodefinitionen</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bayer-lcv_8c.html#ac42e714a968472db53b9b29bfe9e6ba">INTDIVIDEBY2ROUND</a>(x)&nbsp;&nbsp;&nbsp;((x + 1) / 2)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bayer-lcv_8c.html#2d3bb940d8d54bbe15a01aca8f68c88c">INTDIVIDEBY3ROUND</a>(x)&nbsp;&nbsp;&nbsp;((x + 1) / 3)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bayer-lcv_8c.html#40df06c100ea57dc9c149f2a12a7f90e">INTDIVIDEBY4ROUND</a>(x)&nbsp;&nbsp;&nbsp;((x + 2) / 4)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bayer-lcv_8c.html#1e58feb56979e2c69ab8bd0fcec33403">INTDIVIDEBY8ROUND</a>(x)&nbsp;&nbsp;&nbsp;((x + 4) / 8)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bayer-lcv_8c.html#4cc86401fbdb901680dee4a847fa3d94">SATURATE2CHAR</a>(x)&nbsp;&nbsp;&nbsp;(x &lt; 0 ? 0 : (x &gt; 255 ? 255 : x))</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bayer-lcv_8c.html#46f334971b3b75297177daaf93625502">ISODD</a>(x)&nbsp;&nbsp;&nbsp;(x &amp; 0x1)</td></tr>

<tr><td colspan="2"><br><h2>Funktionen</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bayer-lcv_8c.html#433d67b039529aee5d9dfe9a36b849a6">cfa2bgr_AllocMem</a> (int size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bayer-lcv_8c.html#591ee3e7fb0b3311c0e346160ce49a5f">cfa2bgr_DoBayerFiltering</a> (unsigned char *raw_buf, int header_size, int width, int height)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bayer-lcv_8c.html#1548ff298fb29b921f7124f62fd13e39">cfa2bgr_DetFirstPos</a> (int *nRx, int *nRy, int *nGx, int *nGy, int *nBx, int *nBy)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bayer-lcv_8c.html#ea2573951d37d25d3e98d3aaf668ed18">cfa2bgr_CopyConstPix2Out</a> (unsigned char *pInpData, unsigned char *pOutData, int nXSize, int nYSize, int nStartPixX, int nStartPixY, <a class="el" href="bayer-lcv_8h.html#1fcc96778794b059ae97b09a7ecf5f0e">Color</a> Col)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bayer-lcv_8c.html#f32b188b68942e6dc498c28fde558b78">cfa2bgr_InterpCurGreen</a> (unsigned char *pInpData, int nCurIndx, int nXSize)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bayer-lcv_8c.html#d9ed7252b03ab300433b7c7798f203a7">cfa2bgr_InterpGreen</a> (unsigned char *pInpData, unsigned char *pOutData, int nXSize, int nYSize, int nStartPixX, int nStartPixY)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bayer-lcv_8c.html#687bac14e38d8b6549839b5d435b99c1">cfa2bgr_InterpGreenBorder</a> (unsigned char *pInpData, unsigned char *pOutData, int nXSize, int nYSize, int nStartPixX, int nStartPixY)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bayer-lcv_8c.html#d47d48e05330c7fc5e7a0d4b28e4d2b8">cfa2bgr_InterpCurRedOrBlueDiag</a> (unsigned char *pInpData, unsigned char *pOutData, int nCurIndx, int nXSize)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bayer-lcv_8c.html#bed4c40592605145d0a23d628580c301">cfa2bgr_InterpRedOrBlue</a> (unsigned char *pInpData, unsigned char *pOutData, int nXSize, int nYSize, int nStartPixX, int nStartPixY, int isRed)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bayer-lcv_8c.html#daf63759293e4aa8e8225e041b50e8e4">cfa2bgr_InterpRedOrBlueBorder</a> (unsigned char *pInpData, unsigned char *pOutData, int nXSize, int nYSize, int nStartPixX, int nStartPixY, int isRed)</td></tr>

<tr><td colspan="2"><br><h2>Variablen</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="bayer-lcv_8h.html#1fcc96778794b059ae97b09a7ecf5f0e">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bayer-lcv_8c.html#1255d0173cbe449c0c28896d869d719b">m_FirstPixColor</a> = B</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="bayer-lcv_8h.html#1fcc96778794b059ae97b09a7ecf5f0e">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bayer-lcv_8c.html#e1a5361ee6973b743e0ecb7c2c522ceb">m_SecondPixColor</a> = G</td></tr>

</table>
<hr><h2>Makro-Dokumentation</h2>
<a class="anchor" name="ac42e714a968472db53b9b29bfe9e6ba"></a><!-- doxytag: member="bayer-lcv.c::INTDIVIDEBY2ROUND" ref="ac42e714a968472db53b9b29bfe9e6ba" args="(x)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INTDIVIDEBY2ROUND          </td>
          <td>(</td>
          <td class="paramtype">x&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%">&nbsp;&nbsp;&nbsp;((x + 1) / 2)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="bayer-lcv_8c-source.html#l00030">30</a> der Datei <a class="el" href="bayer-lcv_8c-source.html">bayer-lcv.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bayer-lcv_8c-source.html#l00362">cfa2bgr_InterpCurRedOrBlueDiag()</a> und <a class="el" href="bayer-lcv_8c-source.html#l00234">cfa2bgr_InterpGreenBorder()</a>.</p>

</div>
</div><p>
<a class="anchor" name="2d3bb940d8d54bbe15a01aca8f68c88c"></a><!-- doxytag: member="bayer-lcv.c::INTDIVIDEBY3ROUND" ref="2d3bb940d8d54bbe15a01aca8f68c88c" args="(x)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INTDIVIDEBY3ROUND          </td>
          <td>(</td>
          <td class="paramtype">x&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%">&nbsp;&nbsp;&nbsp;((x + 1) / 3)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="bayer-lcv_8c-source.html#l00031">31</a> der Datei <a class="el" href="bayer-lcv_8c-source.html">bayer-lcv.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bayer-lcv_8c-source.html#l00234">cfa2bgr_InterpGreenBorder()</a>.</p>

</div>
</div><p>
<a class="anchor" name="40df06c100ea57dc9c149f2a12a7f90e"></a><!-- doxytag: member="bayer-lcv.c::INTDIVIDEBY4ROUND" ref="40df06c100ea57dc9c149f2a12a7f90e" args="(x)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INTDIVIDEBY4ROUND          </td>
          <td>(</td>
          <td class="paramtype">x&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%">&nbsp;&nbsp;&nbsp;((x + 2) / 4)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="bayer-lcv_8c-source.html#l00032">32</a> der Datei <a class="el" href="bayer-lcv_8c-source.html">bayer-lcv.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bayer-lcv_8c-source.html#l00165">cfa2bgr_InterpCurGreen()</a>, <a class="el" href="bayer-lcv_8c-source.html#l00362">cfa2bgr_InterpCurRedOrBlueDiag()</a>, <a class="el" href="bayer-lcv_8c-source.html#l00234">cfa2bgr_InterpGreenBorder()</a> und <a class="el" href="bayer-lcv_8c-source.html#l00402">cfa2bgr_InterpRedOrBlue()</a>.</p>

</div>
</div><p>
<a class="anchor" name="1e58feb56979e2c69ab8bd0fcec33403"></a><!-- doxytag: member="bayer-lcv.c::INTDIVIDEBY8ROUND" ref="1e58feb56979e2c69ab8bd0fcec33403" args="(x)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INTDIVIDEBY8ROUND          </td>
          <td>(</td>
          <td class="paramtype">x&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%">&nbsp;&nbsp;&nbsp;((x + 4) / 8)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="bayer-lcv_8c-source.html#l00033">33</a> der Datei <a class="el" href="bayer-lcv_8c-source.html">bayer-lcv.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bayer-lcv_8c-source.html#l00165">cfa2bgr_InterpCurGreen()</a>.</p>

</div>
</div><p>
<a class="anchor" name="46f334971b3b75297177daaf93625502"></a><!-- doxytag: member="bayer-lcv.c::ISODD" ref="46f334971b3b75297177daaf93625502" args="(x)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ISODD          </td>
          <td>(</td>
          <td class="paramtype">x&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%">&nbsp;&nbsp;&nbsp;(x &amp; 0x1)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="bayer-lcv_8c-source.html#l00035">35</a> der Datei <a class="el" href="bayer-lcv_8c-source.html">bayer-lcv.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bayer-lcv_8c-source.html#l00234">cfa2bgr_InterpGreenBorder()</a> und <a class="el" href="bayer-lcv_8c-source.html#l00478">cfa2bgr_InterpRedOrBlueBorder()</a>.</p>

</div>
</div><p>
<a class="anchor" name="4cc86401fbdb901680dee4a847fa3d94"></a><!-- doxytag: member="bayer-lcv.c::SATURATE2CHAR" ref="4cc86401fbdb901680dee4a847fa3d94" args="(x)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SATURATE2CHAR          </td>
          <td>(</td>
          <td class="paramtype">x&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%">&nbsp;&nbsp;&nbsp;(x &lt; 0 ? 0 : (x &gt; 255 ? 255 : x))</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="bayer-lcv_8c-source.html#l00034">34</a> der Datei <a class="el" href="bayer-lcv_8c-source.html">bayer-lcv.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bayer-lcv_8c-source.html#l00165">cfa2bgr_InterpCurGreen()</a>, <a class="el" href="bayer-lcv_8c-source.html#l00362">cfa2bgr_InterpCurRedOrBlueDiag()</a> und <a class="el" href="bayer-lcv_8c-source.html#l00402">cfa2bgr_InterpRedOrBlue()</a>.</p>

</div>
</div><p>
<hr><h2>Dokumentation der Funktionen</h2>
<a class="anchor" name="433d67b039529aee5d9dfe9a36b849a6"></a><!-- doxytag: member="bayer-lcv.c::cfa2bgr_AllocMem" ref="433d67b039529aee5d9dfe9a36b849a6" args="(int size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char* cfa2bgr_AllocMem           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="bayer-lcv_8c-source.html#l00042">42</a> der Datei <a class="el" href="bayer-lcv_8c-source.html">bayer-lcv.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bayer-lcv_8c-source.html#l00051">cfa2bgr_DoBayerFiltering()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ea2573951d37d25d3e98d3aaf668ed18"></a><!-- doxytag: member="bayer-lcv.c::cfa2bgr_CopyConstPix2Out" ref="ea2573951d37d25d3e98d3aaf668ed18" args="(unsigned char *pInpData, unsigned char *pOutData, int nXSize, int nYSize, int nStartPixX, int nStartPixY, Color Col)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cfa2bgr_CopyConstPix2Out           </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>pInpData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>pOutData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nXSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nYSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nStartPixX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nStartPixY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="bayer-lcv_8h.html#1fcc96778794b059ae97b09a7ecf5f0e">Color</a>&nbsp;</td>
          <td class="paramname"> <em>Col</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="bayer-lcv_8c-source.html#l00121">121</a> der Datei <a class="el" href="bayer-lcv_8c-source.html">bayer-lcv.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bayer-lcv_8c-source.html#l00051">cfa2bgr_DoBayerFiltering()</a>.</p>

</div>
</div><p>
<a class="anchor" name="1548ff298fb29b921f7124f62fd13e39"></a><!-- doxytag: member="bayer-lcv.c::cfa2bgr_DetFirstPos" ref="1548ff298fb29b921f7124f62fd13e39" args="(int *nRx, int *nRy, int *nGx, int *nGy, int *nBx, int *nBy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cfa2bgr_DetFirstPos           </td>
          <td>(</td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>nRx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>nRy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>nGx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>nGy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>nBx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>nBy</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="bayer-lcv_8c-source.html#l00090">90</a> der Datei <a class="el" href="bayer-lcv_8c-source.html">bayer-lcv.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bayer-lcv_8c-source.html#l00051">cfa2bgr_DoBayerFiltering()</a>.</p>

</div>
</div><p>
<a class="anchor" name="591ee3e7fb0b3311c0e346160ce49a5f"></a><!-- doxytag: member="bayer-lcv.c::cfa2bgr_DoBayerFiltering" ref="591ee3e7fb0b3311c0e346160ce49a5f" args="(unsigned char *raw_buf, int header_size, int width, int height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char* cfa2bgr_DoBayerFiltering           </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>raw_buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>header_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>height</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="bayer-lcv_8c-source.html#l00051">51</a> der Datei <a class="el" href="bayer-lcv_8c-source.html">bayer-lcv.c</a>.</p>

<p>Wird benutzt von <a class="el" href="cam-target_8c-source.html#l00067">lcv_capture_frame()</a>.</p>

</div>
</div><p>
<a class="anchor" name="f32b188b68942e6dc498c28fde558b78"></a><!-- doxytag: member="bayer-lcv.c::cfa2bgr_InterpCurGreen" ref="f32b188b68942e6dc498c28fde558b78" args="(unsigned char *pInpData, int nCurIndx, int nXSize)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char cfa2bgr_InterpCurGreen           </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>pInpData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nCurIndx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nXSize</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="bayer-lcv_8c-source.html#l00165">165</a> der Datei <a class="el" href="bayer-lcv_8c-source.html">bayer-lcv.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bayer-lcv_8c-source.html#l00203">cfa2bgr_InterpGreen()</a>.</p>

</div>
</div><p>
<a class="anchor" name="d47d48e05330c7fc5e7a0d4b28e4d2b8"></a><!-- doxytag: member="bayer-lcv.c::cfa2bgr_InterpCurRedOrBlueDiag" ref="d47d48e05330c7fc5e7a0d4b28e4d2b8" args="(unsigned char *pInpData, unsigned char *pOutData, int nCurIndx, int nXSize)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char cfa2bgr_InterpCurRedOrBlueDiag           </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>pInpData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>pOutData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nCurIndx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nXSize</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="bayer-lcv_8c-source.html#l00362">362</a> der Datei <a class="el" href="bayer-lcv_8c-source.html">bayer-lcv.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bayer-lcv_8c-source.html#l00402">cfa2bgr_InterpRedOrBlue()</a>.</p>

</div>
</div><p>
<a class="anchor" name="d9ed7252b03ab300433b7c7798f203a7"></a><!-- doxytag: member="bayer-lcv.c::cfa2bgr_InterpGreen" ref="d9ed7252b03ab300433b7c7798f203a7" args="(unsigned char *pInpData, unsigned char *pOutData, int nXSize, int nYSize, int nStartPixX, int nStartPixY)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cfa2bgr_InterpGreen           </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>pInpData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>pOutData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nXSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nYSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nStartPixX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nStartPixY</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="bayer-lcv_8c-source.html#l00203">203</a> der Datei <a class="el" href="bayer-lcv_8c-source.html">bayer-lcv.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bayer-lcv_8c-source.html#l00051">cfa2bgr_DoBayerFiltering()</a>.</p>

</div>
</div><p>
<a class="anchor" name="687bac14e38d8b6549839b5d435b99c1"></a><!-- doxytag: member="bayer-lcv.c::cfa2bgr_InterpGreenBorder" ref="687bac14e38d8b6549839b5d435b99c1" args="(unsigned char *pInpData, unsigned char *pOutData, int nXSize, int nYSize, int nStartPixX, int nStartPixY)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cfa2bgr_InterpGreenBorder           </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>pInpData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>pOutData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nXSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nYSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nStartPixX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nStartPixY</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="bayer-lcv_8c-source.html#l00234">234</a> der Datei <a class="el" href="bayer-lcv_8c-source.html">bayer-lcv.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bayer-lcv_8c-source.html#l00203">cfa2bgr_InterpGreen()</a>.</p>

</div>
</div><p>
<a class="anchor" name="bed4c40592605145d0a23d628580c301"></a><!-- doxytag: member="bayer-lcv.c::cfa2bgr_InterpRedOrBlue" ref="bed4c40592605145d0a23d628580c301" args="(unsigned char *pInpData, unsigned char *pOutData, int nXSize, int nYSize, int nStartPixX, int nStartPixY, int isRed)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cfa2bgr_InterpRedOrBlue           </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>pInpData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>pOutData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nXSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nYSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nStartPixX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nStartPixY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>isRed</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="bayer-lcv_8c-source.html#l00402">402</a> der Datei <a class="el" href="bayer-lcv_8c-source.html">bayer-lcv.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bayer-lcv_8c-source.html#l00051">cfa2bgr_DoBayerFiltering()</a>.</p>

</div>
</div><p>
<a class="anchor" name="daf63759293e4aa8e8225e041b50e8e4"></a><!-- doxytag: member="bayer-lcv.c::cfa2bgr_InterpRedOrBlueBorder" ref="daf63759293e4aa8e8225e041b50e8e4" args="(unsigned char *pInpData, unsigned char *pOutData, int nXSize, int nYSize, int nStartPixX, int nStartPixY, int isRed)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cfa2bgr_InterpRedOrBlueBorder           </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>pInpData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>pOutData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nXSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nYSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nStartPixX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nStartPixY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>isRed</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="bayer-lcv_8c-source.html#l00478">478</a> der Datei <a class="el" href="bayer-lcv_8c-source.html">bayer-lcv.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bayer-lcv_8c-source.html#l00402">cfa2bgr_InterpRedOrBlue()</a>.</p>

</div>
</div><p>
<hr><h2>Variablen-Dokumentation</h2>
<a class="anchor" name="1255d0173cbe449c0c28896d869d719b"></a><!-- doxytag: member="bayer-lcv.c::m_FirstPixColor" ref="1255d0173cbe449c0c28896d869d719b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="bayer-lcv_8h.html#1fcc96778794b059ae97b09a7ecf5f0e">Color</a> <a class="el" href="bayer-lcv_8c.html#1255d0173cbe449c0c28896d869d719b">m_FirstPixColor</a> = B          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="bayer-lcv_8c-source.html#l00039">39</a> der Datei <a class="el" href="bayer-lcv_8c-source.html">bayer-lcv.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bayer-lcv_8c-source.html#l00090">cfa2bgr_DetFirstPos()</a>.</p>

</div>
</div><p>
<a class="anchor" name="e1a5361ee6973b743e0ecb7c2c522ceb"></a><!-- doxytag: member="bayer-lcv.c::m_SecondPixColor" ref="e1a5361ee6973b743e0ecb7c2c522ceb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="bayer-lcv_8h.html#1fcc96778794b059ae97b09a7ecf5f0e">Color</a> <a class="el" href="bayer-lcv_8c.html#e1a5361ee6973b743e0ecb7c2c522ceb">m_SecondPixColor</a> = G          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="bayer-lcv_8c-source.html#l00040">40</a> der Datei <a class="el" href="bayer-lcv_8c-source.html">bayer-lcv.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bayer-lcv_8c-source.html#l00090">cfa2bgr_DetFirstPos()</a>.</p>

</div>
</div><p>
<hr size="1"><address style="text-align: right;"><small>Erzeugt am Thu Dec 13 13:57:32 2007 für LCV Framework von&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
</html>
